package com.zjw.socket.demo.starter.messageService.service;

import com.zjw.socket.demo.starter.messageService.Message;

public interface IConnectSession {

    /**
     * 发给user message
     */
    void writeMessage(Message message);

    void writeBytes(byte[] bytes);
    /**
     * 断开此连接
     */
    void disconnect();

    void reconnect();
}
